package com.cmb.lk50.sink.console;

import com.cmb.lk50.pojo.AbstractLog;
import com.cmb.lk50.sink.LogSink;

/**
 * Author       : 蒋俊钊 80256973
 * Date         : 2019/11/11
 * Copyright    (C) ChinaMerchantsBank
 */
public class ConsoleSink implements LogSink {

    @Override
    public void write(AbstractLog log) {
        System.out.println(gson.toJson(log));
    }
}